package com.guigu.service.stock;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.pojo.stock.SGather;
import com.guigu.pojo.stock.SPay;

import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2024-12-06
 */
public interface SGatherService extends IService<SGather> {

    public SGather getEndSGather();

    public int addSGather(SGather sGather);

    public PageInfo<SGather> selectSGatherByPage(HashMap<String, Object> map);

    //修改入库表
    public boolean updateSGather(SGather sGather);

    //根据入库单编号获取入库单的主键
    public Integer findBySGatherId(String sGatherId);

}
